package _04Stringbulider;

import java.util.Arrays;

public class arraymedth {
    public static void main(String[] args) {
        int[] arr = {0,1,4,8,20};
        //二分查找
        int dex  = Arrays.binarySearch(arr, 12);
        System.out.println(dex);
        Integer[] num  = new Integer[]{1,5,6};
        Arrays.fill(num, 99);
        System.out.println(Arrays.toString(num));

    }
    public static void bule01(int[] arr){
        for(int i=0;i<arr.length;i++){
            //交换
        }
    }
    
}
